﻿using System;
using Microsoft.Xna.Framework;

namespace IcicleFramework.GameServices.HelperServices
{
    public class RandomGenerator : IRandomGenerator
    {
        protected Random random;

        public void Update(GameTime gameTime) {}

        public void Initialize()
        {
            random = new Random();
        }

        public int GenerateRandomInt()
        {
            return random.Next();
        }

        public int GenerateRandomInt(int min, int max)
        {
            return random.Next(min, max);
        }
    }
}
